package com.promise.jokerdream.response.pc

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

// 生日回包
@Serializable
data class QueryBirthdayResponse(
    override val result: Int,
    override val msg: String = "",
    // 是否在生日周内
    @SerialName("in_event")
    val inEvent: Int = 0,
    // 是否领取了专属大礼
    @SerialName("drawed_free_present")
    val drawFreePresent: Int = 0 ,
    // 是否领取了祝福大礼
    @SerialName("drawed_wishes_present")
    val drawWishesPresent: Int = 0,
    // 收到的祝福值
    @SerialName("received_wishes_num")
    val receivedWishesNum: Int = 0,
    // 领礼包需要的祝福值
    @SerialName("wishes_required")
    val wishesRequired: Int = 0,
    // 送出的祝福值
    @SerialName("wish_degree")
    val wishDegree: Int = 0,
    // 领礼包需要的祝福值
    @SerialName("wish_degree_required")
    val wishDegreeRequired: Int = 0,
    // 可送祝福的好友列表
    val friends: List<BirthdayFriend> = emptyList()
): BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}

@Serializable
data class BirthdayFriend(
    val uin: Long = 0,
    @SerialName("can_send_wishes")
    val canSendWishes: Int = 0,
)
